// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import '@/assets/css/common.css'
import '@/assets/css/elechange.css'
import '@/assets/js/directives.js'
import $$ from '@/plugins/statusCode.config.js'
import h8080 from '@/plugins/h8080.js'
import h8081 from '@/plugins/h8081.js'
import h9090 from '@/plugins/h9090.js'
import refresh from '@/plugins/refresh.js'
import vcolorpicker from 'vcolorpicker'
import cusBreadcrumb from '@/views/components/common/cusBreadcrumb'
import echarts from 'echarts'
import ElementUI from 'element-ui'
import VueInsProgressBar from 'vue-ins-progress-bar'
import 'element-ui/lib/theme-chalk/index.css'
import Vue from 'vue'
import App from './App'
import router from './router'
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
Vue.component(cusBreadcrumb.name, cusBreadcrumb)
Vue.use(h8080)
Vue.use(h8081)
Vue.use(h9090)
Vue.use($$)
Vue.use(refresh)
Vue.use(ElementUI)
Vue.use(vcolorpicker)
/* eslint-disable no-new */
const options = {
  position: 'fixed',
  show: true,
  height: '3px'
}

Vue.use(VueInsProgressBar, options)
new Vue({
  el: '#app',
  router,
  ElementUI,
  components: {
    App
  },
  template: '<App/>'
})
